package service;



import dto.SysMenuDto;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.Cacheable;
import util.ResponseVo;

import java.util.List;
import java.util.Map;


public interface MenuService {


    List<SysMenuDto> findUserPermissions(Long userid);


    ResponseVo addMenu(SysMenuDto menu);

    ResponseVo updateMenu(SysMenuDto menu);

    ResponseVo deleteMenu(Long id);

    Map<String, Map<String, Object>> getUserMenu(Long userId);
    List<SysMenuDto> selectTotal();

}
